package study.lgf.model;

public class People {
	private String firstName;
	private String lastName;
	private String email;
	private Integer age;

	
	public People(String firstName, Integer age) {
		this.firstName = firstName;
		this.age = age;
	}

	public People() {
		super();
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	@Override
	public String toString() {
		return "名字: " + getFirstName() + " 姓:  "
				+ getLastName() + " Email:      " + getEmail() + " 年龄:      "
				+ getAge();
	}
}
